package cn.edu.sdust.serviceImpl;

import cn.edu.sdust.dao.UserDao;
import cn.edu.sdust.domain.User;
import cn.edu.sdust.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("UserServiceImpl")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;
    @Override
    public List<User> getAllUser() {

        return userDao.getAllUser();
    }
}
